package com.atguigu.gmall.model.to.ware;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author A
 * @version 1.0
 * @description: TODO
 * @date 2024/10/16 5:18
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class WareOrderTo {
    private Long orderId; //订单系统的订单ID
    private String consignee; //收货人
    private String consigneeTel; //收货电话
    private String orderComment; //订单备注
    private String orderBody;  //订单概要
    private String deliveryAddress; //发货地址
    private String paymentWay = "2"; //支付方式：  ‘1’ 为货到付款，‘2’为在线支付。
    // details:[{skuId:101,skuNum:1,skuName:’小米手64G’},{skuId:201,skuNum:1,skuName:’索尼耳机’}]
    private List<WareDetailsTo> details;
    private String wareId; //传入时的仓库编号
}
